﻿//生成[Material]IService代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FineAdmin.Model;

namespace FineAdmin.IService
{
    public interface IMaterialService : IBaseService<MaterialModel>
    {
        IEnumerable<MaterialModel> GetMaterialList();
        /// <summary>
        /// 更新商品
        /// </summary>
        /// <param name="id"></param>
        /// <param name="onlyAuto">是否仅包含需要自动更新的</param>
        ///  <param name="Unify">是否同意更新</param>
        /// <returns></returns>
        int RefreshData(int id = -1,bool onlyAuto=false, bool Unify = false);
    }


}